(function(){
var ly_str=`
<div style="display:none;" id="ly_prompt_window">
    <i style="display:block;width:100%;z-index:101; height:100%;background-color:#000;filter:alpha(Opacity=30);-moz-opacity:0.3;opacity: 0.3; position:fixed; top:0px; left:0px;"></i>
    <div style="width:94%;height:90%;padding:10px;position:fixed;z-index:999;background-color:#fff;border-radius:10px;top:5%;left: 3%;box-sizing: border-box;">
        <i  id="ly_prompt_i" style="transition:0.3s;display:block;width:190px;height:140px;margin:20px auto 0 auto;background-size:cover;background-position:0 -65px;background-image:url(https://cdn.baldh.com/images/730e0cf3d7ca7bcb95ca6e89b9096b63f724a8e7.jpg)"></i>
        <p id="ly_prompt_1" style="margin-top:20px;color:#666;font-size:35px;font-weight:600;text-align:center;"></p>
        <p id="ly_prompt_2" style="margin-top:10px;color:#666;font-size:25px;font-weight:600;text-align:center;"></p>
        <p style="text-align:center;"><a href="" style="color:#F00;font-size:25px;font-weight:600;"  id="ly_prompt_tel"></a></p>
        <a  id="ly_prompt_tel2" style="display:block;height:40px;width:150px;font-size:20px;text-align:center;line-height:40px;margin:25px auto 0 auto;color:#FFF;background-color: rgb(85, 97, 220);border-radius: 3px;" href="">拨打电话</a>
        <a style="display:block;height:40px;width:150px;font-size:20px;text-align:center;line-height:40px;margin:15px auto;color:#FFF;background-color:rgb(170, 170, 170);border-radius: 3px;" onclick="document.getElementById('ly_prompt_window').style.display='none';">返回咨询</a>
    </div>
</div>
<nav style="position:fixed;top:0;z-index:55;width:100%;max-width:640px;height:40px;background:#393a3f;display:none;">
	<a onclick="if(1==window.ly_have_back){history.go(-1);}else{window.ly_have_back_func();}return false;" style="float:left;width:50px;height:40px;background:url(//cdn.baldh.com/images/wechat.png) no-repeat scroll 20px 12px;"><i style="float:right;width:1px;height:20px;margin:10px 0 0 0;background:#2e2e32"></i></a>
	<a id="ly_prompt_tel3" href="" style="position: absolute;float: right;width: 135px;line-height: 43px;font-size: 13px;text-indent: 36px;color: #FFF;height: 40px;background: url(//cdn.baldh.com/images/wechat.png) no-repeat scroll 3px -192px;background-size: 50px;top: 0;right: 0;"></a>
	<h2 style="color:#FFF;font-size:16px;line-height:1.0em;text-indent:10px;" id="ly_title"></h2>
</nav>
`;

var ly_div=document.createElement("div");
ly_div.id="ly_add_elment";
ly_div.innerHTML=ly_str;
document.body.appendChild(ly_div);

document.getElementById("ly_prompt_1").innerHTML=window.ly_prompt_11;
document.getElementById("ly_prompt_2").innerHTML=window.ly_prompt_22;
document.getElementById("ly_prompt_tel").innerHTML=window.ly_prompt_tel1;
document.getElementById("ly_prompt_tel3").innerHTML=window.ly_prompt_tel1;
document.getElementById("ly_prompt_tel").setAttribute("href","tel:"+window.ly_prompt_tel1);
document.getElementById("ly_prompt_tel2").setAttribute("href","tel:"+window.ly_prompt_tel1);
document.getElementById("ly_prompt_tel3").setAttribute("href","tel:"+window.ly_prompt_tel1);

document.getElementById("ly_title").innerHTML=window.ly_title1;

window.ly_have_back_func=function(){
	if(1==window.ly_have_back){
	}else{
	 document.getElementById('ly_prompt_window').style.display='block';
	 document.getElementById('ly_prompt_i').className='ly-animation-be';
	 }
	 window.ly_have_back=1;
}
var a=location.hash;
if(a.indexOf('lylyly')<0){
    window.history.replaceState({page:1},'','');
    history.pushState({nei:1},'lylyly',location.href+'#lylyly')
}

window.addEventListener("popstate", function(e) {
    a=location.hash;
    if(a.indexOf('lylyly')<0){
		window.ly_have_back_func();
    }
}, false);

var style = document.createElement("style");
style.type = "text/css";
style.appendChild(document.createTextNode("nav{box-sizing:border-box;}.ly-animation-be{animation:ly-animation-bell 1.3s;}@keyframes ly-animation-bell{0%{transform:rotate(-5deg);}20%{transform:rotate(10deg);}40%{transform:rotate(-15deg);}60%{transform:rotate(20deg);}80%{transform:rotate(-15deg);}100%{transform:rotate(10deg);}}"));
var head = document.getElementsByTagName("head")[0];
head.appendChild(style);
})();